package com.ordering.dao.product;

import com.ordering.constant.ResultResponse;
import com.ordering.entity.Page;
import com.ordering.entity.Product;

public interface ProductDao
{
   public ResultResponse add(Product product);
   
   public ResultResponse delect(Product product);
   
   public ResultResponse get4page(Product product,Page page);
   
   public ResultResponse count(Product product);
   
   public Product getById(long productId);
   
   public boolean updateStatus(long id, int status);
   
   public ResultResponse update(Product product);
}
